package com.qq.xqj.modle;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class Order_info {
    //订单编号
    private String orderId;
    //汽车品牌
    private String brand;
    //汽车型号
    private String type;
    //汽车颜色
    private String color;
    //汽车售价
    private String sellingPrice;
    //销售人员
    private String salesmanName;
    //销售人员ID
    private String salesmanId;
    //销售时间
    private String sellingTime;
    //付款类型
    private String payment;
    //销售人员提成   售价的0.1%
    private String royalty;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSalesmanId() {
        return salesmanId;
    }

    public void setSalesmanId(String salesmanId) {
        this.salesmanId = salesmanId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(String sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public String getSalesmanName() {
        return salesmanName;
    }

    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName;
    }



    @JsonFormat(pattern = "yyyy-MM-dd ",timezone = "GMT-8")
    public String getSellingTime() {
        return sellingTime;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public void setSellingTime(String sellingTime) {
        this.sellingTime = sellingTime;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getRoyalty() {
        return royalty;
    }

    public void setRoyalty(String royalty) {
        this.royalty = royalty;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Order_info{" +
                "orderId='" + orderId + '\'' +
                ", brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", color='" + color + '\'' +
                ", sellingPrice='" + sellingPrice + '\'' +
                ", salesmanName='" + salesmanName + '\'' +
                ", salesmanId='" + salesmanId + '\'' +
                ", sellingTime='" + sellingTime + '\'' +
                ", payment='" + payment + '\'' +
                ", royalty='" + royalty + '\'' +
                '}';
    }
}
